﻿// Original author contact info: Owen Emlen (owene_1998@yahoo.com)
// Note: other individuals may also have contributed to this code
// Project hosted on CodePlex.com as of 1/10/2009 at http://www.codeplex.com/EmlenMud
using System;
using System.Xml.Serialization;
using System.Text;
using System.Threading;
using System.ComponentModel;
using System.Collections;
using System.Collections.Generic;
using BrainTechLLC.ThreadSafeObjects;
using System.Runtime.Serialization;
using System.Reflection;
#if USE_HYPER
using Hyper.ComponentModel;
#endif

namespace BrainTechLLC
{
    public static class ThreadSafeObjects_RegisterTypes
    {
        public static Type[] RegisterTypes(out string assemblyName)
        {
            assemblyName = Assembly.GetExecutingAssembly().FullName;
            Assembly assembly = Assembly.GetExecutingAssembly();
            return assembly.GetTypes();
        }
    }

    [DataContract]
    [Flags]
    public enum ViewType
    {
        [EnumMember]
        None = 0,
        [EnumMember]
        Sense = 1,
        [EnumMember]
        See = 2,
        [EnumMember]
        Feel = 4,
        [EnumMember]
        Hear = 8,
        [EnumMember]
        Smell = 16,
        [EnumMember]
        All = 255
    }

    [Flags]
    [DataContract]
    public enum FindOptions
    {
        [EnumMember]
        None = 0,
        [EnumMember]
        SameRoom = 1,
        [EnumMember]
        InWorld = 2,
        [EnumMember]
        WantSingle = 4,
        [EnumMember]
        WantMultiple = 8,
    };
}